/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh; /* Adjust the height as needed */
}

.carousel-item {
    height: 70vh;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adds shadow for text visibility */
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Makes the carousel controls more visible */
    border-radius: 50%;
}

/* Adjust the font size for mobile */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
}


/* Styling for the cards */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05); /* Zoom effect on hover */
}

.card-title i {
    font-size: 1.5rem;
    color: #4a90e2; /* Icon color */
    margin-right: 10px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.card-text {
    font-size: 1rem;
    color: #555;
}

.bg-gradient {
    background: linear-gradient(to right, #4a90e2, #7ed321);
}

h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

p.lead {
    font-size: 1.2em;
    color: #666;
}
/* Service Card Styling */
.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 300px; /* Adjust based on content size */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Initial background image is hidden (optional) */
.service-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay to ensure text legibility */
    z-index: 1;
    opacity: 1; /* Hidden by default */
    transition: opacity 0.3s ease;
}

/* Show background image on hover */
.service-card:hover:before {
    opacity: 0; /* Background image becomes visible on hover */
}

/* Content styling on the service cards */
.card-content {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Text Styling */
.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    font-size: 1rem;
    color: #fff;
}

/* Logo Image Styling */
.logo-image {
    max-width: 200px; /* Adjust the size as necessary */
    height: auto;
    margin: 0 auto; /* Center the image horizontally */
}
